<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>

    let name = "张无忌";
    let age =30;
    let msg = "hello 张无忌,今年30岁"

    let msg1 = "hello" +name +",今年"+age+"岁"

    //字符串模板 `` 能解析 变量进行字符串拼接

    let msg1 = "hello" +name +",今年"+age+"岁"

    console.log(msg);
    console.log(msg1);
    console.log(msg1);


</script>
</body>
</html>